﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain
{
    /// <summary>
    /// 会议室表
    /// </summary>
    public class MettingRoom:BaseEneity
    {
        [Key]
        public int MeetRoomId {  get; set; }
        /// <summary>
        /// 会议室名称
        /// </summary>
        public string? MeetRoomName { get; set; }
        /// <summary>
        /// 容纳人数
        /// </summary>
        public int CotainPerson {  get; set; }
        /// <summary>
        /// 会议室位置
        /// </summary>
        public int RoomAddressId {  get; set; }
        /// <summary>
        /// 管理员
        /// </summary>
        public int UserId {  get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Phone {  get; set; }
        /// <summary>
        /// 是否预约审批
        /// </summary>
        public bool IsApproval { get; set; } = true;
        /// <summary>
        /// 上传图片
        /// </summary>
        public string? Img {  get; set; }
        /// <summary>
        /// 是否智能
        /// </summary>
        public bool IsSmart { get; set; } = true;
    }
}
